package com.ls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.controller.yxsms.model.AddYxSmsModel;
import com.ls.controller.yxsms.model.EditYxSmsModel;
import com.ls.controller.yxsms.model.QueryYxSmsModel;
import com.ls.entity.YxSms;
import com.ls.utils.ResultData;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pengyu
 * @since 2024-06-28
 */
public interface IYxSmsService extends IService<YxSms> {
    /**新增*/
    ResultData add(AddYxSmsModel model);
    /** 更新  */
    ResultData edit(EditYxSmsModel model);
    /** 删除  */
    ResultData del(Long yxSmsId);
    /**根据id查询*/
    ResultData getYxSmsById(Long yxSmsId);
    /**
     * 查询5g阅信模板分页列表
     */
    ResultData pageList(QueryYxSmsModel model);
    /**查询当前用户的所有模板*/
    ResultData getPaging(Long companyId);
}
